﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using CUWo.Common.Entities.WoInterface.HttpJsonResult;


namespace CUWo.Common.Entities.WoInterface.HttpJsonResult
{

    [DataContract]
    public class AdTmSmp
    {

        [DataMember(Name = "1")]
        public long _1 { get; set; }

        [DataMember(Name = "2")]
        public long _2 { get; set; }
    }

    //[DataContract]
    //public class CheckInAndroid
    //{

    //    [DataMember(Name = "appNewVer")]
    //    public string AppNewVer { get; set; }

    //    [DataMember(Name = "appNewVerLnk")]
    //    public string AppNewVerLnk { get; set; }
    //}

    [DataContract]
    public class CheckInVerInf
    {

        [DataMember(Name = "dwnUrl")]
        public string DwnUrl { get; set; }

        [DataMember(Name = "sprdMd5")]
        public string SprdMd5 { get; set; }

        [DataMember(Name = "uptRsm")]
        public string UptRsm { get; set; }

        [DataMember(Name = "verEx")]
        public string VerEx { get; set; }

        [DataMember(Name = "verNm")]
        public string VerNm { get; set; }
    }


    [DataContract]
    public class JsonResultMessageCheckIn
    {
        //[DataMember(Name = "android")]
        //public CheckInAndroid Android { get; set; }

        [DataMember(Name = "actTmSmp")]
        public long ActTmSmp { get; set; }

        [DataMember(Name = "adTmSmp")]
        public AdTmSmp AdTmSmp { get; set; }

        [DataMember(Name = "bsOptTmSmp")]
        public long BsOptTmSmp { get; set; }

        [DataMember(Name = "chnMd5")]
        public string ChnMd5 { get; set; }

        [DataMember(Name = "msg")]
        public JsonResultMessage Msg { get; set; }

        [DataMember(Name = "verInf")]
        public CheckInVerInf VerInf { get; set; }

    }
}
